package com.zjd.association.mapper;

import com.zjd.association.entity.Schedule;
import com.zjd.association.entity.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 日程管理 Mapper
 *
 * @author: fql
 * @date: 2024-5-23
 */
@Mapper
public interface ScheduleMapper {

    @Select("select * from schedules where user_id = #{userId}")
    List<Schedule> queryAllScheduleInfo(Users user);

    @Select("select * from schedules where user_id = #{id}")
    List<Schedule> queryAllScheduleInfo2(Integer id);
}
